#!/bin/bash
#SBATCH --export=ALL # export all environment variables to the batch job
#SBATCH -D /gpfs/ts0/projects/Research_Project-187970/Replication
#SBATCH -p pq # submit to the parallel queue
#SBATCH --time=120:00:00 # maximum walltime for the job
#SBATCH --nodes=1 # specify number of nodes
#SBATCH --ntasks-per-node=3 # specify number of processors per node
#SBATCH --mail-user=g.katz@exeter.ac.uk # email address
#SBATCH --mail-type=END # send email at job completion


module load R/3.3.1-foss-2016b
module load GSL/2.1-foss-2016b

R CMD BATCH --no-restore --no-save --vanilla Quadratic.R 
